package Text;

import java.util.Scanner;

/**
 * 测试成绩类
 */
import Pojo.ScoreCalc;

public class TextScoreCalc {
	public static void main(String[] args) {
		ScoreCalc v = new ScoreCalc();
		// 接受成绩
		Scanner input = new Scanner(System.in);
		System.out.println("请输入java成绩:");
		v.java = input.nextInt();
		System.out.println("请输入C#成绩:");
		v.c = input.nextInt();
		System.out.println("请输入DB成绩:");
		v.db = input.nextInt();
		// 接受成绩
		v.showTotalScore();
		v.showAvg();
	}
}
